<extend name="default/template/base_index2" />

<block name="area_header">

    <style type="text/css">
        .js_mobile{
            position: relative;
        }
        .btn-code{
            position: absolute;
            right:10px;
            top:7px;
        }
        .am-form input[type='text']{
            height: 50px;
        }
    </style>

</block>


<block name="area_body">

    <include file="partial/header" />

    <div class="">

    </div>
    <div class="am-u-lg-12 am-u-md-12 am-padding-lg">

        <div class="am-panel">
            <div class="am-alert">

            </div>
        </div>
        <form class="am-form" action="__SELF__" method="post">
            <div class="am-form-group">
                <label>手机号</label>
                <div class="js_mobile">
                    <input type="text" name="mobile" placeholder="手机号" />
                    <input type="hidden" name="type" value="4">
                    <a class="btn-code no-refresh ajax-post am-btn am-btn-primary am-btn-sm" data-loading-text="正在发送...." data-no-refresh="1" href="{:U('Test/TestUser/getCode')}" target-form="js_mobile">获取验证码</a>
                </div>
            </div>

            <h2>公共参数：</h2>
            <div class="am-form-group">
                <label>type</label>
                <div>
                    BY_User_register
                </div>
            </div>
            <div class="am-form-group">
                <label>api_ver接口版本</label>
                <div>
                    <input type="text" name="api_ver" placeholder="api_ver接口版本" value="100" />
                </div>
            </div>

            <h2>业务参数：</h2>

            <div class="am-form-group">

                <label>用户id</label>
                <div>
                    <input type="text" name="uid" placeholder="用户id" />
                </div>

            </div>
            <div class="am-form-group">

                <label>密码</label>
                <div>
                    <input type="text" name="password" placeholder="密码" />
                </div>
            </div>
            <div class="am-form-group">
                <label>验证码</label>
                <div>
                    <input type="text" name="code" placeholder="验证码" />
                </div>
            </div>

            <div class="am-form-group">

                <label></label>
                <div>
                    <button class="am-btn am-btn-primary">提交</button>
                </div>

            </div>

        </form>

    </div>


</block>

<block name="area_footer">

</block>